package inventory.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sxt
 * @since 2019-11-06
 */
public class Role {


    @TableId(value = "role_id", type = IdType.UUID)
    private String roleId;
    private String role;
    private String pid;
    /**
     * 2为市级，1为县级，0是个人
     */
    private String state;


    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }


    @Override
    public String toString() {
        return "Role{" +
        "roleId=" + roleId +
        ", role=" + role +
        ", pid=" + pid +
        ", state=" + state +
        "}";
    }
}
